package com.ruoyi.web.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家管理对象 pj_merchants
 * 
 * @author mike
 * @date 2024-12-21
 */
public class PjMerchants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家ID */
    private Long merchantId;

    /** 商家名 */
    @Excel(name = "商家名")
    private String merchantName;

    /** lodo资源路径 */
    @Excel(name = "lodo资源路径")
    private String logoUrl;

    /** 联系人名 */
    @Excel(name = "联系人名")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 联系邮箱 */
    @Excel(name = "联系邮箱")
    private String contactEmail;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 营业执照编号 */
    @Excel(name = "营业执照编号")
    private String businessLicenseNumber;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishmentDate;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 平均评分 */
    @Excel(name = "平均评分")
    private BigDecimal averageRating;

    /** 评价数量 */
    @Excel(name = "评价数量")
    private Long reviewCount;

    /** 是否已验证 0未验证 1已验证 */
    @Excel(name = "是否已验证 0未验证 1已验证")
    private Integer isVerified;

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setMerchantName(String merchantName) 
    {
        this.merchantName = merchantName;
    }

    public String getMerchantName() 
    {
        return merchantName;
    }
    public void setLogoUrl(String logoUrl) 
    {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl() 
    {
        return logoUrl;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setContactEmail(String contactEmail) 
    {
        this.contactEmail = contactEmail;
    }

    public String getContactEmail() 
    {
        return contactEmail;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setBusinessLicenseNumber(String businessLicenseNumber) 
    {
        this.businessLicenseNumber = businessLicenseNumber;
    }

    public String getBusinessLicenseNumber() 
    {
        return businessLicenseNumber;
    }
    public void setEstablishmentDate(Date establishmentDate) 
    {
        this.establishmentDate = establishmentDate;
    }

    public Date getEstablishmentDate() 
    {
        return establishmentDate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setAverageRating(BigDecimal averageRating) 
    {
        this.averageRating = averageRating;
    }

    public BigDecimal getAverageRating() 
    {
        return averageRating;
    }
    public void setReviewCount(Long reviewCount) 
    {
        this.reviewCount = reviewCount;
    }

    public Long getReviewCount() 
    {
        return reviewCount;
    }
    public void setIsVerified(Integer isVerified) 
    {
        this.isVerified = isVerified;
    }

    public Integer getIsVerified() 
    {
        return isVerified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchantId", getMerchantId())
            .append("merchantName", getMerchantName())
            .append("logoUrl", getLogoUrl())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("contactEmail", getContactEmail())
            .append("address", getAddress())
            .append("businessLicenseNumber", getBusinessLicenseNumber())
            .append("establishmentDate", getEstablishmentDate())
            .append("description", getDescription())
            .append("averageRating", getAverageRating())
            .append("reviewCount", getReviewCount())
            .append("isVerified", getIsVerified())
            .toString();
    }
}
